package com.example.jyjava.bean;

public class RoleQueryInfo {
    private String query; //查询信息
    private String role; //权限
    private int pageNum = 1; //当前页数
    private int pageSize = 1;//每页最大数

    public RoleQueryInfo() {
    }

    public RoleQueryInfo(String query,String role, int pageNum, int pageSize) {
        this.query = query;
        this.role = role;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "RoleQueryInfo{" +
                "query='" + query + '\'' +
                ", role='" + role + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
